package com.dlc.shop.systemtest.api.store;

import com.dlc.shop.bean.model.ShopDetail;
import com.dlc.shop.systemtest.constants.Constant;
import com.dlc.shop.systemtest.util.HttpUtil;

/**
 * @author lanhai
 */
public class ShopApi {
    /**
     * 获取店铺信息
     * @return
     */
    public static ShopDetail info(Boolean useMainShop){
        String url = Constant.SHOP_URL + "/shop/shopDetail/info";
        return HttpUtil.get(url, ShopDetail.class, useMainShop);
    }
}
